10 MODE8:DIM:GOSUB900:c$=CHR$(5):f=95:r=0:s=0 45 CLS:PRINT"B(1,p) a
100 THEN95 97 CLS:PRINT"B(1,p) ";f;"%";TAB(0);"....."; 100 p=(1-f/100)/2:sr=0:GOSUB"LIB0:S6410":GOSUB900:IFsr THEN* 110 e=s/r:z=e-x*SQR(((1-e)*e)/r):GOSUB400:a=z 120 z=e+x*SQR(((1-e)*e)/r):GOSUB400:b=z 130 PRINTc$;a;"< p <";b;:a$=INPUT$(1,@):GOTO45 140 GOTO50 400 IFz THENz=ROUND(z,LOG(ABSz)-5) 410 RETURN 500 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@10;z:LOCATE0,0:RETURN 900 ONERRORGOTO910:RETURN 910 IFERR=1 THENCLS:ONERRORGOTO0 920 IFERL=500 THENRESUME500 930 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME45